package ddd;

import ddd.constant.MonsterEnum;

/**
 * @author dengzhiyuan
 * @version 1.0
 * @time 2021/6/1 17:28
 */
public class MonsterFactory {

    public static Monster createMonster(MonsterEnum monsterEnum,int health){
        return new Monster(monsterEnum, health);
    }

}
